<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
*/
defined('BY_JYA') or exit('error');
cfc('core')->checklogin();
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
if($_RQ['op']=='get'){
	if($_RQ['snsid']){
		$this->session('snsid',intval($_RQ['snsid']));
	}
	$snsid=$this->session('snsid');
	$return['likesnum']=pdo_getsum('jy_quan_item',array('uniacid'=>$_SESSION['uniacid'],'status'=>1),'likes');
	$return['looksnum']=pdo_getsum('jy_quan_item',array('uniacid'=>$_SESSION['uniacid'],'status'=>1),'looks');
	$return['jielinum']=pdo_count('jy_quan_item_jieli',array('uniacid'=>$_SESSION['uniacid']),'id');
	$return['snsid']=$snsid;
	exi($return);
}
